@layout("/common/_container.html"){

<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>车辆信息管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="plate" name="车牌号" />
                            </div>
                            <div class="col-sm-3">
                                <!--<#NameCon id="type" name="类型" />-->
                                <#SelectCon id="type" name="状态" >
                                <option value=""></option>
                                <option value="0">公车</option>

                                <option value="1">私家车</option>
                            </#SelectCon>
                            </div>

                            <div class="col-sm-3">
                                <#SelectCon id="status" name="状态" >
                                <option value=""></option>
                                <option value="0">可使用</option>

                                <option value="1">在途</option>
                                <option value="2">常用</option>
                                <option value="3">已预约</option>
                            </#SelectCon>
                        </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="CarInfo.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="CarInfoTableToolbar" role="group">
                            @if(shiro.hasPermission("/carInfo/add")){
                                <#button name="添加" icon="fa-plus" clickFun="CarInfo.openAddCarInfo()"/>
                            @}
                            @if(shiro.hasPermission("/carInfo/update")){
                                <#button id="carInfoUpdate" name="修改" icon="fa-edit" clickFun="CarInfo.openCarInfoDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/carInfo/delete")){
                                <#button name="删除" icon="fa-trash" clickFun="CarInfo.delete()" space="true"/>
                            @}

                            <#button name="导出Excel" icon="fa-print" clickFun="CarInfo.download()" space="true"/>

                        </div>
                        <#table id="CarInfoTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="${ctxPath}/static/modular/info/carInfo/carInfo.js"></script>

@}
